 <template>
  <div>
    <div class="footer">
      <div><img src="@/assets/饿了么图标.png" alt="" /><span>外卖</span></div>
      <div><img src="@/assets/线性指南针图标.png" alt="" /><router-link to="SearchHistorypage" tag="span">搜索</router-link></div>
      <div><img src="@/assets/续费页面 订单图标.png" alt="" /><span>订单</span></div>
      <router-link to="Mylogin" tag="div"><img src="@/assets/个人图标.png" alt="" /><span>我的</span></router-link></div>
  </div>
</template>
 <script>
export default {
  data() {
    return {};
  },
  methods: {},
  computed: {},
};
</script>
 <style lang='css' scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.footer {
  width: 100%;
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10px;
  border-top: 1px solid #ccc;
}
.footer div {
  width: 3rem;
  height: 4rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 13px;
  padding: 12px 0px;
}
.footer div img{
  width: 1.3rem;
  height: 1.3rem;
  margin-bottom: 5px;
}
</style>